<%--
  Created by IntelliJ IDEA.
  User: Eumenides
  Date: 2021/6/16
  Time: 21:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<head>
    <title>Meeting会议管理系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/styles/common.css"/>
</head>
<body>
<%--<#include 'top.ftl'>--%>
<%@ include file="views/top.jsp" %>
<div class="page-body">
    <%--    <#include 'leftMenu.ftl'>--%>
    <%@ include file="views/leftMenu.jsp" %>
    <div class="page-content">
        <div class="content-nav">
            登录
        </div>
        <form action="${pageContext.request.contextPath}/doLogin" method="post">
            <fieldset>
                <legend>登录信息</legend>
                <table class="formtable" style="width:50%">
                    <tr>
                        <td>账号名:</td>
                        <td>
                            <input name="username" id="accountname" type="text"/>
                        </td>
                    </tr>
                    <tr>
                        <td>密码:</td>
                        <td>
                            <input name="password" id="new" type="password"/>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" class="command">
                            <input type="submit" value="登录" class="clickbutton"
                                   onclick="window.location.href='${pageContext.request.contextPath}/views/notifications.jsp';"/>
                            <input type="button" value="返回" class="clickbutton" onclick="window.history.back();"/>
                        </td>
                    </tr>
                </table>
                <div style="color: red">${error}</div>
            </fieldset>
        </form>
    </div>
</div>
<div class="page-footer">
    <hr/>
    更多问题，欢迎联系<a href="mailto:578173534@qq.com">管理员</a>
    <img src="${pageContext.request.contextPath}/images/footer.png" alt="Meeting"/>
</div>
</body>
</html>